<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>远程断电定时任务</title>
    <link rel="icon" href="../static/img/icon.png">
    <link rel="stylesheet" href="../static/js/layui/css/layui.css">
    <link rel="stylesheet" href="../static/css/animate.min.css">
    <link rel="stylesheet" href="../static/css/style.css">

</head>

<body>
    <div class="app" style="overflow: hidden;">
        <div class="header animate__animated animate__slideInDown">
            <div class="header-title">训战研判系统平台</div>
            <div class="header-menu">

            </div>
        </div>
        <div class="contain">
            <div class="contain-menu animate__animated animate__slideInLeft">

            </div>
            <div class="contain-table">
                <div class="contain-table-tool">
                    <form class="layui-form" action=""
                        style="background: linear-gradient(to right, rgba(0,0,0,0),rgba(2, 36, 55,0.8));padding-left: 0.05rem;">
                        <div class="form-item">
                            <input type="text" name="name" placeholder="任务名称" class="layui-input" lay-affix="clear" />
                        </div>
                        <select name="status" lay-filter="status">
                            <option value="">是否启用</option>
                            <option value="1">未启用</option>
                            <option value="2">已启用</option>
                        </select>
                        <select name="taskType" lay-filter="taskType">
                            <option value="">周期类型</option>
                            <option value="1">每天</option>
                            <option value="2">每周</option>
                        </select>
                        <select name="commandType" lay-filter="commandType">
                            <option value="">操作类型</option>
                            <option value="6">分闸</option>
                            <option value="7">合闸</option>
                        </select>
                        <div class="layui-btn" lay-submit lay-filter="search"><img src="../static/img/icon2.png">查询
                        </div>
                        <div class="layui-btn add" onclick="tableHandle(3)"><img src="../static/img/icon1.png">新增</div>
                        <button type="reset" id="resetSearch"
                            class="layui-btn layui-btn-primary btn-reset layui-hide">重置</button>
                    </form>
                </div>
                <div class="contain-table-list">
                    <table id="table" lay-filter="table"></table>
                </div>
            </div>
            <script type="text/html" id="ID-table-templet-switch">

            <input type="checkbox" name="status" value="{{= d.id }}" title="启用|" lay-skin="switch"
                lay-filter="templet-status" {{=d.status==1 ? "" : "checked" }}>

            </script>
        </div>
    </div>



    <script type="text/javascript" src="../static/js/util/jquery.min.js"></script>
    <script type="text/javascript" src="../static/js/biz/app.js"></script>
    <script type="text/javascript" src="../static/js/layui/layui.js"></script>
    <script type="text/javascript" src="../static/js/biz/scheduledTasks.js"></script>
    <script type="text/javascript" src="../static/js/util/xm-select.js"></script>
</body>

</html>